package com.cloudy.core;

import org.springframework.context.support.ClassPathXmlApplicationContext;

//服务端启动
public class Server {
    private static final int port = 6543;


    public static void main(String[] args) throws Exception {
        try {
            new ClassPathXmlApplicationContext("classpath:spring-context-thrift-server.xml");
            System.out.println("spring thrift zookeeper rpc is start...");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
